#include <iostream>
#include <unistd.h>
#include <sys/types.h>

using namespace std;

int main()
{	
	pid_t pid = getpid();
	pid_t ppid = getppid();
	while(1)
	{
		cout << "This a Process Task!" << "\tpid = " << pid << "\tppid = " << ppid << endl;
		sleep(1);
	}
	return 0;
}
